package com.design.pattern.abstraceFactory.ingredient;

import com.design.pattern.abstraceFactory.DependentPizzaStore;
import com.design.pattern.abstraceFactory.NYPizzaStore;
import com.design.pattern.abstraceFactory.PizzaStore;

public class AbstractFactoryTest {

    public static void main(String[] args) {
        PizzaStore pizzaStore = new NYPizzaStore();
        pizzaStore.orderPizza();
        pizzaStore = new DependentPizzaStore();
        pizzaStore.orderPizza();
    }
}